import common from "@/utils";
export const useCookingStore = defineStore("cooking", () => {
	const selectList = ref<any[]>(common.getStorage("selectList") || []);

	function setCookingList(list: any[]) {
		selectList.value = list;
		common.setStorage("selectList", list);
	}

	return {
		selectList,
		setCookingList
	};
});
